/**
    PopNotify.css
    @author CKylinMC
    @version 1.1
    @license MIT
*/
div.popNotifyUnitFrame {
    cursor: pointer;
    box-shadow: 0 3px 6px #80808085;
    min-width: 200px;
    position: fixed;
    z-index: 9999;
    width: max-content;
    min-height: 30px;
    height: fit-content;
    top: -100%;
    right: -100%;
    /* overflow: hidden; */
    opacity: 1;
    background: white;
    border-radius: 6px;
    /* animation: pnin forwards .3s cubic-bezier(0, 0.6, 0, 1); */
    /* animation: pnin forwards .8s cubic-bezier(0.04, 1.01, 0.17, 1.04); */
    animation: pnin forwards .8s cubic-bezier(0.1, 1, 0, 1.05);
    transition: .3s;
    /*padding: 6px 12px;*/
    overflow: hidden;
}

div.popNotifyUnitFrame > *:not(i):nth-child(1) {
    margin-bottom: 0;
}

div.popNotifyUnitFrame > *:not(i):nth-child(2) {
    margin-top: 0;
}

.popNotifyUnitTitle, .popNotifyUnitContent {
    transform: translateX(50px);
    opacity: 0;
    min-height: 30px;
    height: fit-content;
    margin: 6px 12px;
}

.popNotifyUnitTitle {
    font-weight: bold;
    font-size: 120%;
}

.popNotifyUnitBar {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: black;
    animation-name: pnbar;
    animation-timing-function: linear;
}

.popStyle-success {
    background: rgb(172, 255, 223)!important;
}

.popStyle-success .popNotifyUnitTitle,
.popStyle-success .popNotifyUnitContent {
    color: rgb(0, 114, 70) !important;
}

.popStyle-success .popNotifyUnitBar {
    background: rgb(0, 114, 70) !important;
}

.popStyle-info {
    background: rgb(195, 226, 255) !important;
}

.popStyle-info .popNotifyUnitTitle,
.popStyle-info .popNotifyUnitContent {
    color: rgb(0, 80, 155) !important;
}

.popStyle-info .popNotifyUnitBar {
    background: rgb(0, 80, 155) !important;
}

.popStyle-error {
    background: rgb(255, 196, 196) !important;
}

.popStyle-error .popNotifyUnitTitle,
.popStyle-error .popNotifyUnitContent {
    color: rgb(255, 66, 66) !important;
}

.popStyle-error .popNotifyUnitBar {
    background: rgb(255, 66, 66) !important;
}

.popStyle-warn {
    background: rgb(255, 218, 139) !important;
}

.popStyle-warn .popNotifyUnitTitle,
.popStyle-warn .popNotifyUnitContent {
    color: rgb(177, 94, 0) !important;
}

.popStyle-warn .popNotifyUnitBar {
    background: rgb(177, 94, 0) !important;
}

@keyframes pnin {
    from {
        opacity: 0;
        right: -100%;
    }
    /* to {
        opacity: 1;
        right: 20px;
    } */
}

@keyframes pnout {
    to {
        opacity: 0;
        right: -100%;
    }
}

@keyframes pntextin {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pnbar {
    to {
        width: 100%;
    }
}
